﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BinhSon.Dao;

namespace BinhSon.Services.Contracts
{
    public interface IMonHocServices
    {
        void ThemMonHoc(MonHoc mh);

        bool CheckExistMonHoc(string tenMonHoc);

        IList<SystemLookup> ListKhoi();

        IList<MonHoc> ListMonHoc(int? khoiId = null);

        void ThemMonHocCuaKhoi(MonHocCuaKhoi mhck);

        bool CheckExistMonHocTheoKhoi(int khoiId, int monHocId);

        IList<SystemLookup> ListLanThi();

        IList<SystemLookup> ListHocKy();

        bool CheckExistMonHocCuaHocKy(int hocKyId, int khoiId, int monHocId, int lanThiId, int heSo);

        IList<NamHoc> ListNamHoc();

        void SaveCurrentYear(int namHocId);

        NamHoc GetCurrentYear();

        bool ThemMonHocCuaHocKy(MonHocCuaHocKy mhchk);

        MonHocCuaKhoi GetMonHocCuaKhoi(int khoiId, int monHocId);
    }
}
